package com.yunfei.enums;

/**
 * 自定义请求状态码
 * @author ScienJus
 * @date 2015/7/15.
 */
public enum ProductKuStatus {
    SUCCESS(0, "成功"),
    USER_ID_NOTNULL(101, "理财师ID不能为空"),
    C_FUNDCODE_NOTNULL(102, "产品编码不能为空"),
    USER_CHECK_RESULT_NOTNULL(103, "审核标识（Y:通过,N:驳回）不能为空"),
    USER_CHECK_MEMO_NOTNULL(104, "审核意见不能为空"),
    PARAM_ERROR(105, "参数传递错误,此处只能是Y（通过）或者N(驳回)"),
    insetCustLvl_notnull(106, "insetCustLvl不能为空"),
    cCaption_notnull(107, "cCaption不能为空"),
    cFundCode_notnull(108, "产品代码不能为空"),
    ;


    /**
     * 返回码
     */
    private int code;

    /**
     * 返回结果描述
     */
    private String message;

    ProductKuStatus(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
